﻿using System;
using System.Linq;
using System.Text;
using SqlSugar;

namespace BaoShouTang.DBModel
{
    ///<summary>
    ///
    ///</summary>
    [SugarTable("CurrentStock")]
    public partial class CurrentStock
    {
           public CurrentStock(){


           }
           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:False
           /// </summary>           
           [SugarColumn(IsIdentity=true)]
           public int AutoID {get;set;}

           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:False
           /// </summary>           
           public string cWhCode {get;set;}

           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string cInvCode {get;set;}

           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:False
           /// </summary>           
           public int ItemId {get;set;}

           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:False
           /// </summary>           
           public string cBatch {get;set;}

           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:False
           /// </summary>           
           public string cVMIVenCode {get;set;}

           /// <summary>
           /// Desc:
           /// Default:0
           /// Nullable:False
           /// </summary>           
           public int iSoType {get;set;}

           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string iSodid {get;set;}

           /// <summary>
           /// Desc:
           /// Default:				create default D_UDT_LogisticQuantity		    as 0		
           /// Nullable:True
           /// </summary>           
           public decimal? iQuantity {get;set;}

           /// <summary>
           /// Desc:
           /// Default:				create default D_UDT_LogisticQuantity		    as 0		
           /// Nullable:True
           /// </summary>           
           public decimal? iNum {get;set;}

           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string cFree1 {get;set;}

           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string cFree2 {get;set;}

           /// <summary>
           /// Desc:
           /// Default:				create default D_UDT_LogisticQuantity		    as 0		
           /// Nullable:True
           /// </summary>           
           public decimal? fOutQuantity {get;set;}

           /// <summary>
           /// Desc:
           /// Default:				create default D_UDT_LogisticQuantity		    as 0		
           /// Nullable:True
           /// </summary>           
           public decimal? fOutNum {get;set;}

           /// <summary>
           /// Desc:
           /// Default:				create default D_UDT_LogisticQuantity		    as 0		
           /// Nullable:True
           /// </summary>           
           public decimal? fInQuantity {get;set;}

           /// <summary>
           /// Desc:
           /// Default:				create default D_UDT_LogisticQuantity		    as 0		
           /// Nullable:True
           /// </summary>           
           public decimal? fInNum {get;set;}

           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string cFree3 {get;set;}

           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string cFree4 {get;set;}

           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string cFree5 {get;set;}

           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string cFree6 {get;set;}

           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string cFree7 {get;set;}

           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string cFree8 {get;set;}

           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string cFree9 {get;set;}

           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string cFree10 {get;set;}

           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:True
           /// </summary>           
           public DateTime? dVDate {get;set;}

           /// <summary>
           /// Desc:
           /// Default:0
           /// Nullable:False
           /// </summary>           
           public bool bStopFlag {get;set;}

           /// <summary>
           /// Desc:
           /// Default:				create default D_UDT_LogisticQuantity		    as 0		
           /// Nullable:True
           /// </summary>           
           public decimal? fTransInQuantity {get;set;}

           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:True
           /// </summary>           
           public DateTime? dMdate {get;set;}

           /// <summary>
           /// Desc:
           /// Default:				create default D_UDT_LogisticQuantity		    as 0		
           /// Nullable:True
           /// </summary>           
           public decimal? fTransInNum {get;set;}

           /// <summary>
           /// Desc:
           /// Default:				create default D_UDT_LogisticQuantity		    as 0		
           /// Nullable:True
           /// </summary>           
           public decimal? fTransOutQuantity {get;set;}

           /// <summary>
           /// Desc:
           /// Default:				create default D_UDT_LogisticQuantity		    as 0		
           /// Nullable:True
           /// </summary>           
           public decimal? fTransOutNum {get;set;}

           /// <summary>
           /// Desc:
           /// Default:				create default D_UDT_LogisticQuantity		    as 0		
           /// Nullable:True
           /// </summary>           
           public decimal? fPlanQuantity {get;set;}

           /// <summary>
           /// Desc:
           /// Default:				create default D_UDT_LogisticQuantity		    as 0		
           /// Nullable:True
           /// </summary>           
           public decimal? fPlanNum {get;set;}

           /// <summary>
           /// Desc:
           /// Default:				create default D_UDT_LogisticQuantity		    as 0		
           /// Nullable:True
           /// </summary>           
           public decimal? fDisableQuantity {get;set;}

           /// <summary>
           /// Desc:
           /// Default:				create default D_UDT_LogisticQuantity		    as 0		
           /// Nullable:True
           /// </summary>           
           public decimal? fDisableNum {get;set;}

           /// <summary>
           /// Desc:
           /// Default:				create default D_UDT_LogisticQuantity		    as 0		
           /// Nullable:True
           /// </summary>           
           public decimal? fAvaQuantity {get;set;}

           /// <summary>
           /// Desc:
           /// Default:				create default D_UDT_LogisticQuantity		    as 0		
           /// Nullable:True
           /// </summary>           
           public decimal? fAvaNum {get;set;}

           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:True
           /// </summary>           
           public byte[] ufts {get;set;}

           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:True
           /// </summary>           
           public int? iMassDate {get;set;}

           /// <summary>
           /// Desc:
           /// Default:0
           /// Nullable:False
           /// </summary>           
           public bool BGSPSTOP {get;set;}

           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:True
           /// </summary>           
           public short? cMassUnit {get;set;}

           /// <summary>
           /// Desc:
           /// Default:				create default D_UDT_LogisticQuantity		    as 0		
           /// Nullable:True
           /// </summary>           
           public decimal? fStopQuantity {get;set;}

           /// <summary>
           /// Desc:
           /// Default:				create default D_UDT_LogisticQuantity		    as 0		
           /// Nullable:True
           /// </summary>           
           public decimal? fStopNum {get;set;}

           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:True
           /// </summary>           
           public DateTime? dLastCheckDate {get;set;}

           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:False
           /// </summary>           
           public string cCheckState {get;set;}

           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:True
           /// </summary>           
           public DateTime? dLastYearCheckDate {get;set;}

           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:True
           /// </summary>           
           public short? iExpiratDateCalcu {get;set;}

           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string cExpirationdate {get;set;}

           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:True
           /// </summary>           
           public DateTime? dExpirationdate {get;set;}

           /// <summary>
           /// Desc:
           /// Default:0
           /// Nullable:False
           /// </summary>           
           public decimal ipeqty {get;set;}

           /// <summary>
           /// Desc:
           /// Default:0
           /// Nullable:False
           /// </summary>           
           public decimal ipenum {get;set;}

    }
}
